import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { registerLocaleData } from '@angular/common';
import zh from '@angular/common/locales/zh';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { BaseModule } from './base.module';
import { AppTranslateModule } from './modules/app-translate.module';
import { AppQuillModule } from './modules/app-quill.module';
import { httpInterceptorProviders } from './http-interceptors';

registerLocaleData(zh);

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BaseModule,
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    AppTranslateModule,
    AppQuillModule,
  ],
  providers: [
    httpInterceptorProviders,
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
